import request from '@/utils/request'

// 查询列表
export function listSubject(query) {
  return request({
    url: '/content/subject/list',
    method: 'post',
    data: query
  })
}

export function getSubject(id) {
  return request({
    url: '/content/subject/' + id,
    method: 'get'
  })
}

export function saveBanner(data) {
  return request({
    url: '/order/' + orderNo,
    method: 'get'
  })
}

export function delBanner(data) {
  return request({
    url: '/content/banner/del',
    method: 'post',
    data: data
  })
}
